package com.example.message.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.message.entity.Notice;
import com.example.message.entity.Summary;
import com.example.message.mapper.NoticeMapper;
import com.example.message.mapper.SummaryMapper;
import com.example.message.service.NoticeService;
import com.example.message.service.SummaryService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 公告实现类
 * </p>
 *
 * @author lengleng
 * @since 2019/2/1
 */
@Service
@RequiredArgsConstructor
public class SummaryServiceImpl extends ServiceImpl<SummaryMapper, Summary> implements SummaryService {


    @Override
    public IPage getSummaryListById(Page page, Integer id) {
        return baseMapper.getSummaryListById(page,id);
    }
}
